<!--begin search advance-->
<div id="bg-search-ad">
<div id="search-ad">
<form id="basic-search" method="POST" action="<?php echo $this->baseUrl('/filter')?>">
    	<p><input type="text" value="" name="name"/><input type="submit" value="" /></p>
        <p class="less-search">Less Search</p>
    <div id="advance" style="border-top: 1px solid #DBDBDB;padding-top:15px;margin-top:70px">
    	<div class="all-gender">
            <select class="select" name="gender">
            <option value="-1">All Genders</option>
            <option value="0">Male</option>
            <option value="1">Female</option>
        </select>	
        </div>
        <?php 
        $contryModel = new Application_Model_Country();
        $rows = $contryModel->getAllCountries();
        ?>
        <div class="all-gender">
            <select class="select" name="country">
            <option value="-1">All Countries</option>
            <?php foreach ($rows as $row):?>
            <option value="<?php echo $row['country_id'] ?>"><?php echo $row['name'] ?></option>
            <?php endforeach;?>
        </select>	
        </div>
        <div class="all-gender">
            <select class="select" name="category">
            <option value="-1">All Categories</option>
            <option>Body parts</option>
            <option>Fashion</option>
            <option>High fashion</option>
            <option>Plus sized</option>
            <option>Real life and p...</option>
            <option>Senior</option>
        </select>	
        </div>
        <div class="all-gender">
            <select class="select" name="disciplines">
            <option value="-1">All Disciplines</option>
            <option>Actors</option>
            <option>Art</option>
            <option>Artistic nude</option>
            <option>Ballet</option>
            <option>Beauty</option>
            <option>Catalog</option>
            <option>Clothing</option>
            <option>Commercial</option>
            <option>Cover</option>
            <option>Event</option>
            <option>Fitness</option>
            <option>Foot</option>
            <option>Glamour</option>
            <option>Hair</option>
            <option>Hand</option>
            <option>Hip hop</option>
            <option>Leg</option>
            <option>Lingerie</option>
            <option>Online or web</option>
            <option>Promotional</option>
            <option>Runway</option>
            <option>Swimsuit</option>
            <option>Video</option>
        </select>
        </div>
        <div class="clearfix"></div>
        <ul class="list-txt">
            <li class="col1">
                <p><label class="lab">Age</label></p>
                <div class="row1">
                    <div class="age">
                        <select class="select" name="age_from">
                            <option value="-1">Age</option>
                            <?php for($i=14; $i <=70; $i++):?>
                                <option value="<?php echo $i;?>"><?php echo $i;?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                    <label class="to">to</label>
                    <div class="age">
                        <select class="select" name="age_to">
                            <option value="-1">Age</option>
                            <?php for($i=14; $i <=70; $i++):?>
                                <option value="<?php echo $i;?>"><?php echo $i;?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                </div>
                <p><label class="lab">Chest/Bust</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select" name="chest_bust_from">
                            <option value="-1">Chest/Bust</option>
                            <?php 
                            for($i=65; $i <=83; $i++):
                                $inch = $i * 0.393700787;
                                $inch = number_format($inch, 1, '.', '');
                            ?>
                                <option value="<?php echo $i;?>"><?php echo $i . 'cm / ' . $inch ."&quot;";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                    <label class="to">to</label>
                    <div class="chest">
                        <select class="select" name="chest_bust_to">
                            <option value="-1">Chest/Bust</option>
                            <?php 
                            for($i=65; $i <=83; $i++):
                                $inch = $i * 0.393700787;
                                $inch = number_format($inch, 1, '.', '');
                            ?>
                                <option value="<?php echo $i;?>"><?php echo $i . 'cm / ' . $inch ."&quot;";?></option>
                            <?php endfor;?>
                        </select>
                    </div>
                </div>
                <p><label class="lab">Dress</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Dress</option>
                            <?php 
                            $eu = 30;
                            $uk = 2;
                            $us = 0;
                            for($i=1; $i <=9; $i++):
                                $eu = $eu + 2;
                                $uk = $uk + 2;
                                $us = $us + 2;
                            ?>
                                <option value="<?php echo $eu;?>"><?php echo "$eu EU, $uk UK, $us US";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                    <label class="to">to</label>
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Dress</option>
                            <?php 
                            $eu = 30;
                            $uk = 2;
                            $us = 0;
                            for($i=1; $i <=9; $i++):
                                $eu = $eu + 2;
                                $uk = $uk + 2;
                                $us = $us + 2;
                            ?>
                                <option value="<?php echo $eu;?>"><?php echo "$eu EU, $uk UK, $us US";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                </div>
                <p><label class="lab">Collar</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Collar</option>
                            <?php 
                            for($i=18; $i <=45; $i++):
                                $inch = round($i * 0.393700787);
                            ?>
                                <option value="<?php echo $i;?>"><?php echo $i . 'cm / ' . $inch ."&quot;";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                    <label class="to">to</label>
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Collar</option>
                            <?php 
                            for($i=18; $i <=45; $i++):
                                $inch = round($i * 0.393700787);
                            ?>
                                <option value="<?php echo $i;?>"><?php echo $i . 'cm / ' . $inch ."&quot;";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                </div>
                <p><label class="lab">Hair color</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Hair color</option>    
                            <option value="1">Auburn</option>    
                            <option value="2">Black</option>    
                            <option value="3">Blonde</option>    
                            <option value="4">Brown</option>    
                            <option value="5">Cendre</option>    
                            <option value="6">Chestnut</option>    
                            <option value="7">Dark</option>    
                            <option value="8">Dark Blonde</option>    
                            <option value="9">Dark Brown</option>    
                            <option value="10">Grey</option>    
                            <option value="11">Hazel</option>    
                            <option value="12">Light Blonde</option>    
                            <option value="13">Light Brown</option>    
                            <option value="14">Medium Blonde</option>    
                            <option value="15">Platinum Blonde</option>    
                            <option value="16">Red</option>    
                            <option value="17">Red Blonde</option>    
                            <option value="18">Red Brown</option>    
                            <option value="19">Salt and Pepper</option>    
                            <option value="20">Strawberry Blonde</option>
                        </select>	
                    </div>
                </div>                            
            </li>
            <li class="col2">
                <p><label class="lab">Height</label></p>
                    <div class="row1">
                        <div class="chest">
                            <select class="select">
                                <option value="-1">Height</option>
                                <?php
                                for($i=120;$i <=210; $i++):
                                    $inch = $i * 0.393700787;
                                    $inch = number_format($inch, 1, '.', '');
                                ?>
                                    <option value="<?php echo $i;?>"><?php echo $i . 'cm / '. $inch ."&quot;";?></option>
                                <?php endfor;?>
                            </select>	
                        </div>
                        <label class="to">to</label>
                        <div class="chest">
                            <select class="select">
                                <option value="-1">Height</option>
                                <?php
                                for($i=120; $i<=210; $i++):
                                    $inch = $i * 0.393700787;
                                    $inch = number_format($inch, 1, '.', '');
                                ?>
                                    <option value="<?php echo $i;?>"><?php echo $i . 'cm / ' . $inch ."&quot;";?></option>
                                <?php endfor;?>
                            </select>	
                        </div>
                    </div> 
                    <p><label class="lab">Waist</label></p>
                    <div class="row1">
                        <div class="chest">
                            <select class="select">
                                <option value="-1">Waist</option>
                                <?php
                                for($i=50; $i<=110; $i++):
                                    $inch = $i * 0.393700787;
                                    $inch = number_format($inch, 1, '.', '');
                                ?>
                                    <option value="<?php echo $i;?>"><?php echo $i . 'cm / ' . $inch ."&quot;";?></option>
                                <?php endfor;?>
                            </select>	
                        </div>
                        <label class="to">to</label>
                        <div class="chest">
                            <select class="select">
                                <option value="-1">Waist</option>
                                <?php
                                for($i=50; $i<=110; $i++):
                                    $inch = $i * 0.393700787;
                                    $inch = number_format($inch, 1, '.', '');
                                ?>
                                    <option value="<?php echo $i;?>"><?php echo $i . 'cm / ' . $inch ."&quot;";?></option>
                                <?php endfor;?>
                            </select>	
                        </div>
                    </div> 
                <p><label class="lab">Jacket</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Jacket</option>
                            <?php 
                            $eu = 40;
                            $uk = 32;
                            $us = 26;
                            for($i=1; $i <=9; $i++):
                                $eu = $eu + 2;
                                $uk = $uk + 2;
                                $us = $us + 2;
                            ?>
                                <option value="<?php echo $eu;?>"><?php echo "$eu EU, $uk UK, $us US";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                    <label class="to">to</label>
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Jacket</option>
                            <?php 
                            $eu = 40;
                            $uk = 32;
                            $us = 26;
                            for($i=1; $i <=9; $i++):
                                $eu = $eu + 2;
                                $uk = $uk + 2;
                                $us = $us + 2;
                            ?>
                                <option value="<?php echo $eu;?>"><?php echo "$eu EU, $uk UK, $us US";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                </div> 
                <p><label class="lab">Shoes</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Shoes</option>
                            <?php 
                            $eu = 34;
                            $uk = 2;
                            $us = 2;
                            for($i=36; $i <=49; $i++):
                                $eu = $eu + 1;
                                $uk = $uk + 1;
                                $us = $us + 1;
                            ?>
                                <option value="<?php echo $eu;?>"><?php echo "$eu EU, $uk UK, $us US";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                    <label class="to">to</label>
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Shoes</option>
                            <?php 
                            $eu = 34;
                            $uk = 2;
                            $us = 2;
                            for($i=36; $i <=49; $i++):
                                $eu = $eu + 1;
                                $uk = $uk + 1;
                                $us = $us + 1;
                            ?>
                                <option value="<?php echo $eu;?>"><?php echo "$eu EU, $uk UK, $us US";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                </div> 
                <p><label class="lab">Ethnicity</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">All</option>
                            <option value="1">White</option>    
                            <option value="2">Black/African roots</option>    
                            <option value="3">Latino/Hispanic</option>    
                            <option value="4">Native American</option>    
                            <option value="5">Indian/Pakistani</option>    
                            <option value="6">Middle Eastern</option>    
                            <option value="7">Chinese</option>    
                            <option value="8">Japanese/Korean</option>    
                            <option value="9">South Asian</option>    
                            <option value="10">Pacific Islander</option>    
                            <option value="11">Other</option>
                        </select>	
                    </div>
                </div> 
            </li>
            <li class="col3">
                <p><label class="lab">&nbsp;</label></p>
                <div class="row1">&nbsp;</div> 
                <p><label class="lab">Hips</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Hips</option>
                                <?php
                                for($i=65; $i<=150; $i++):
                                    $inch = $i * 0.393700787;
                                    $inch = number_format($inch, 1, '.', '');
                                ?>
                                    <option value="<?php echo $i;?>"><?php echo $i . 'cm / ' . $inch ."&quot;";?></option>
                                <?php endfor;?>
                        </select>	
                    </div>
                    <label class="to">to</label>
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Hips</option>
                                <?php
                                for($i=65; $i<=150; $i++):
                                    $inch = $i * 0.393700787;
                                    $inch = number_format($inch, 1, '.', '');
                                ?>
                                    <option value="<?php echo $i;?>"><?php echo $i . 'cm / ' . $inch ."&quot;";?></option>
                                <?php endfor;?>
                        </select>	
                    </div>
                </div> 
                <p><label class="lab">Trousers</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Trousers</option>
                            <?php 
                            $eu = 36;
                            $uk = 36;
                            $us = 26;
                            for($i=1; $i <=9; $i++):
                                $eu = $eu + 2;
                                $uk = $uk + 2;
                                $us = $us + 2;
                            ?>
                                <option value="<?php echo $eu;?>"><?php echo "$eu EU, $uk UK, $us US";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                    <label class="to">to</label>
                    <div class="chest">
                        <select class="select">
                            <option value="-1">Trousers</option>
                            <?php 
                            $eu = 36;
                            $uk = 36;
                            $us = 26;
                            for($i=1; $i <=9; $i++):
                                $eu = $eu + 2;
                                $uk = $uk + 2;
                                $us = $us + 2;
                            ?>
                                <option value="<?php echo $eu;?>"><?php echo "$eu EU, $uk UK, $us US";?></option>
                            <?php endfor;?>
                        </select>	
                    </div>
                </div> 
                <p><label class="lab">Eyes</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">All</option>
                            <option value="2">Blue</option>
                            <option value="3">Brown</option>
                            <option value="4">Dark Brown</option>
                            <option value="5">Green</option>
                            <option value="6">Grey</option>
                            <option value="7">Hazel</option>
                            <option value="8">Light Blue</option>
                            <option value="9">Light Brown</option>
                        </select>	
                    </div>
                </div> 
                <p><label class="lab">Languages</label></p>
                <div class="row1">
                    <div class="chest">
                        <select class="select">
                            <option value="-1">All</option>
                            <option value="en">English</option>
                            <option value="fr">French</option>
                            <option value="de">German</option>
                            <option value="es">Spanish</option>
                            <option value="af">Afrikaans</option>
                            <option value="sq">Albanian</option>
                            <option value="ar">Arabic</option>
                            <option value="az">Azerbaijani</option>
                            <option value="eu">Basque</option>
                            <option value="be">Belarusian</option>
                            <option value="br">Breton</option>
                            <option value="bg">Bulgarian</option>
                            <option value="ca">Catalan</option>
                            <option value="zh">Chinese</option>
                            <option value="hr">Croatian</option>
                            <option value="cz">Czech</option>
                            <option value="da">Danish</option>
                            <option value="nl">Dutch</option>
                            <option value="eo">speranto</option>
                            <option value="et">Estonian</option>
                            <option value="fo">Faroese</option>
                            <option value="fi">Finnish</option>
                            <option value="fy">Frisian</option>    
                            <option value="gd">Gaelic</option>    
                            <option value="el">Greek</option>    
                            <option value="he">Hebrew</option>    
                            <option value="hu">Hungarian</option>    
                            <option value="is">Icelandic</option>    
                            <option value="id">Indonesian</option>    
                            <option value="ga">Irish</option>    
                            <option value="it">Italian</option>    
                            <option value="ja">Japanese</option>    
                            <option value="ko">Korean</option>    
                            <option value="ku">Kurdish</option>    
                            <option value="la">Latin</option>    
                            <option value="lv">Latvian</option>    
                            <option value="lb">Letzeburgesch</option>    
                            <option value="lt">Lithuanian</option>    
                            <option value="mk">Macedonian</option>    
                            <option value="gv">Manx</option>    
                            <option value="no">Norwegian</option>    
                            <option value="pl">Polish</option>    
                            <option value="pt">Portuguese</option>    
                            <option value="ro">Romanian</option>    
                            <option value="rm">Romansh</option>    
                            <option value="ru">Russian</option>    
                            <option value="se">Sami</option>    
                            <option value="sr">Serbian</option>    
                            <option value="sk">Slovak</option>    
                            <option value="sl">Slovenian</option>    
                            <option value="so">Somali</option>    
                            <option value="sw">Swahili</option>    
                            <option value="sv">Swedish</option>    
                            <option value="tr">Turkish</option>    
                            <option value="uk">Ukrainian</option>    
                            <option value="vi">Vietnamese</option>    
                            <option value="cy">Welsh</option>    
                            <option value="yi">Yiddish</option>
                        </select>	
                    </div>
                </div> 
            </li>
        </ul>
    </div>
    </form>
</div>
</div>
<!--end search advance-->